package cn.com.dbappsecurity.service;

import java.util.List;

import cn.com.dbappsecurity.entity.Demo;

public interface IDemo {

	public boolean insert(String name,int age)throws Exception;
	
	public boolean delete(int id)throws Exception;
	
	public List<Demo> search(String name,int age,int page,int rows) throws Exception ;
	
	public int searchCount(String name,int age) throws Exception ;
}
